<?php

namespace App\HttpController\Admin;

use App\Logic\Order\OrderService;

/**
 * 订单管理
 * Class Order
 */
class Order extends BaseController{

    public function index(){
        $result = OrderService::getInstance()->getLists($this->request());
        return $this->writeJsonByOutput($result);
    }

    public function dict(){
        $service      = new OrderService();
        $result       = $service->getDict($this->request());
        return $this->writeJsonByOutput($result);
    }
    public function unshipping(){
        $service      = new OrderService();
        $result       = $service->countUnshippingOrder($this->request());
        return $this->writeJsonByOutput($result);
    }



}
